<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Welcome to Oresoft Admin</title>
<link href="css/home.css" type="text/css" rel="stylesheet" />
<link href="css/admin.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/simple.js"> </script>
</head>
<body onload="check()">
<div id="container">

<div id="header_section">
<jsp:include page="JSP/Header/home_header.jsp"></jsp:include>
</div>

<div id="menu_section">
<jsp:include page="JSP/Menu/admin_menu.jsp"></jsp:include>
</div>
<div id="left_menu">

</div>

<div id="main_body" style="overflow: scroll;">

	<c:choose>
		<c:when test="${requestScope.viewAllRegistered == true}">
			<jsp:include page="JSP/Admin/view_all_registered.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.contactUs == true}">
			<jsp:include page="JSP/Admin/contact_us.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.scheduleExam == true}">
			<jsp:include page="JSP/Admin/schedule_exam.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.publishExamResult == true}">
			<jsp:include page="JSP/Admin/publish_exam_result.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.scheduleInterview == true}">
			<jsp:include page="JSP/Admin/schedule_interview.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.publishFinalResult == true}">
			<jsp:include page="JSP/Admin/publish_final_result.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.profileManage == true}">
			<jsp:include page="JSP/Admin/profile_manage.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.admission == true}">
			<jsp:include page="JSP/Admin/admission.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.examManage == true}">
			<jsp:include page="JSP/Admin/exam_manage.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.timeTable == true}">
			<jsp:include page="JSP/Admin/time_table.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.attendance == true}">
			<jsp:include page="JSP/Admin/attendance.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.studentDetails == true}">
			<jsp:include page="JSP/Admin/student_details.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.manageNews == true}">
			<jsp:include page="JSP/Admin/manage_news.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.more == true}">
			<jsp:include page="JSP/Admin/more.jsp"></jsp:include>
		</c:when>
		
		<c:otherwise>
			<jsp:include page="JSP/Admin/admin_welcome.jsp"></jsp:include>
		</c:otherwise>
	</c:choose>


</div>

</div>

<div id="footer_section">
<jsp:include page="JSP/Footer/footer.jsp"></jsp:include>
</div>
</body>
</html>